package gatperdut.chato.constants;

public final class CSConstantsPlayerState {

    public static enum PlayerStateGroup {
        GROUP_LOGIN, GROUP_MAIN_MENU, GROUP_IN_GAME
    }

    public static enum PlayerState {
        LOGIN_PROVIDING_USERNAME(PlayerStateGroup.GROUP_LOGIN), LOGIN_PROVIDING_PASSWORD(PlayerStateGroup.GROUP_LOGIN),

        IN_GAME(PlayerStateGroup.GROUP_IN_GAME), IN_MAIN_MENU(PlayerStateGroup.GROUP_MAIN_MENU);

        private PlayerStateGroup playerStateGroup;

        PlayerState( PlayerStateGroup entityStateGroup ) {
            this.playerStateGroup = entityStateGroup;
        }

        public PlayerStateGroup getEntityStateGroup() {
            return playerStateGroup;
        }
    }

}
